<html>
	<head>
		<script language='javascript' src='scripts/factory.js' ></script>
		<script>
			function ev(e) {
				console.log( "ev: "+e.target.tagName );
			}
			function init() {
				document.body.appendChild(E.E('div',{'e.click':ev,'id':'abc','style.backgroundColor':'yellow'},'hello world'));
				document.body.appendChild(E.f(E.button(ev,'Click There'),E.a('local',ev,'Some Href')));
				document.body.appendChild( E.table(
					E.tr( E.th('one'), E.th('two'), E.th('three') ),
					E.tr( E.td(1.1), E.td(2.1), E.td(3.1) ),
					E.tr( E.td(1.2), E.td(2.2), E.td(3.2) ),
					E.tr( [ E.td(1.3), E.td(2.3), E.td(3.3) ] ) ) );



			}
		</script>
	</head>
	<body onload='init()' >
	</body>
</html>
